from . import index_blu
from  info import redis_store


@index_blu.route('/', methods=['POST', 'GET'])
def index():
    # 测试redis_store
    redis_store.set('name', 'itcast')
    # import logging
    # logging.fatal('fatal Messgae')
    # logging.error('error Message')
    # 演示flask项目中输出日志
    # current_app.logger.fat al('fatal Messgae')
    # current_app.logger.error('error Message')
    return 'index'
